<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象的扩展</title>
    <script>
        let user = {
            id: 10086,
            name: "哈哈",
            age: 50,
            address: "航都路18号",
            car: "BMW",
        }

        let keys = Object.keys(user);

        let values = Object.values(user);


        console.log(keys);
        console.log(values);


        keys.forEach(key=>console.log(key+":**:"+user[key]))






    </script>
</head>
<body>

</body>
</html>